package com.ruoyi.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.business.domain.MobileExhibitors;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 参展商Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-13
 */
@Mapper
@Repository
public interface MobileExhibitorsMapper extends BaseMapper<MobileExhibitors> {
    /**
     * 查询参展商
     *
     * @param id 参展商主键
     * @return 参展商
     */
    public MobileExhibitors selectMobileExhibitorsById(@Param("id") Long id,@Param("openId") String openId);

    /**
     * 查询参展商列表
     *
     * @param mobileExhibitors 参展商
     * @return 参展商集合
     */
    public List<MobileExhibitors> selectMobileExhibitorsList(MobileExhibitors mobileExhibitors);

    /**
     * 新增参展商
     *
     * @param mobileExhibitors 参展商
     * @return 结果
     */
    public int insertMobileExhibitors(MobileExhibitors mobileExhibitors);

    /**
     * 修改参展商
     *
     * @param mobileExhibitors 参展商
     * @return 结果
     */
    public int updateMobileExhibitors(MobileExhibitors mobileExhibitors);

    /**
     * 删除参展商
     *
     * @param id 参展商主键
     * @return 结果
     */
    public int deleteMobileExhibitorsById(Long id);

    /**
     * 批量删除参展商
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMobileExhibitorsByIds(Long[] ids);
}